package cn.itcast.store.service;

import java.sql.SQLException;
import java.util.List;

import cn.itcast.store.domain.Category;

public interface CategoryService {
	List<Category> findAllCats()throws SQLException;

	void addCategory(Category c);

	Category findCategoryByCid(String cid) throws SQLException;

	void EditSaveCategory(Category category);

	

	void deleteCategory(String cid);
}
